package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.Music;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface MusicDao extends CrudRepository<Music, Integer>, JpaSpecificationExecutor<Music> {

    List<Music> findAllByIdIn(List<Integer> ids);
}
